<?php

namespace app\admin\controller\mental;

use app\common\controller\Backend;

/**
 * 在线预览
 * @icon fa fa-circle-o
 */
class Preview extends Backend
{

    public function _initialize()
    {
        parent::_initialize();
    }

    /**
     * 查看
     */
    public function index()
    {
        $config = get_addon_config('mental');
        $this->view->assign("mobileurl", isset($config['mobileurl']) ? $config['mobileurl'] : '');
        return $this->view->fetch();
    }

}
